﻿using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace EasyNet.Componets.Core.Serialization
{
    public interface IJsonSerialization
    {
        string Serialize(object obj);

        void Serialize(object value, Type type, Stream stream);

        T Deserialize<T>(string value);

        object Deserialize(Type type, Stream stream);

        object Deserialize(string value, Type type);

     
    }
}
